| 
 | 
 | 
 | 
| SftTreeItems.SelectionGroups Property | 
Returns the number of groups of selected items.
Syntax
| VB.NET | Count = object.SelectionGroups As Integer | ||
| VB | Count = object.SelectionGroups As Long | ||
| C#.NET | int Count = object.SelectionGroups; | ||
| VC++ | 
long Count = object->SelectionGroups;
 | ||
| C | HRESULT object->get_SelectionGroups(long* Count); | ||
| Delphi | Count := object.SelectionGroups : Integer; | ||
object
A SftTreeItems object.
Count
Returns the number of groups of selected items.
Comments
The SelectionGroups property returns the number of groups of selected items.
In a multiple selection tree control, many discontiguous groups of items may be selected. While the Items.Selection property returns an index for each selected item, the Items.SelectionGroupStart and Items.SelectionGroupEnd properties return each group of selected items. For a large number of selected items this is the preferred method.
See Also SftTreeItems Object | Object Hierarchy